Don’t use git if there is no .git directory
Merge pull request #91 from astrofrog/no-git-directory

Don’t use git if there is no .git directory