Handle non-git dirs

Nails #10
Merge pull request #13 from pikesley/handle-non-git-dirs

Handle non-git dirs