recurseDirectory() now handles bare repo's correctly, does not recurse into .git.