Fixed string errors for unexpected repo formats

Was getting exceptions thrown because I have remotes that have the following URL format:

user@host:repo.com

This fixes that.

I don't really write Python, but this was the best way I could explain what was going wrong and how to fix it, so I apologise if this isn't the way to go about it!