fix grack accessing files beginning with .git
Merge pull request #2450 from jojosch/fix-grack-gitignore

fix grack accessing files beginning with .git