Fix URL handling so that git+ssh:// is treated like git's ssh://
 * fixed unit test as well