Fix bug 1035157: Test for git

Skip clone during create if unavailable

Check for git before cloning