CreateRepositoryFromURL: try adding .git suffix when clone fails
Due to a security fix, git command is no longer following redirects which can cause failed imports when the '.git' suffix is missing from the url. This change appends the '.git' suffix if the clone command fails and tries cloning the repository again.
Edited by Adam Hegyi