Fix regression checking git repo status
Merge pull request #335 from edubxb/old-git-support

Fix regression checking git repo status