More liberal test for whether the version is from git

Matches things like git+ssh://