Fix some URLs format

Allow urls with "@": For example: git+https://user:pass@domain.com/repository.git

The current code return "domain.com/repository.git" instead of "git+https://user:pass@domain.com/repository.git"