Accept puppet dir only if it is a git repo