Set disable_git to false if git rev-parse doesn't fail