Merge pull request #1555 from larsoner/hidden

FIX: --check-hidden respects directories