Fix bug 1035157: Test for git