Refactoring: check for meta files first

Before descending into `getFiles'`, check for meta directories and
handle those appropriately. This only targets the `tag-` directories;
host-specific and hook directories will have to be handled later.

(I had actually expected this change to fix the tests entirely. Bummer.)