Handle non-git dirs

Nails #10