When keep_gitdata is false, the gitdir is changed to "$archivedir/$project-git/gitrep", so this is the right check.
Merge pull request #110 from amateo/master

Bug with keep_gitdata
Merge branch 'master' of https://github.com/example42/puppi