diff --git a/git-dsc-commit b/git-dsc-commit
index b1079e8..90aee37 100755
--- a/git-dsc-commit
+++ b/git-dsc-commit
@@ -814,8 +824,9 @@ def main():
parent_overrides = parse_parentfile(pkgname, args.parentfile)
proto = "git" if no_push else "git+ssh"
- remote_url = ('%s://%s@git.launchpad.net/~%s/ubuntu/+source/%s' %
- (proto, user, owner, pkgname))
+ user_at = user + "@" if proto == "git+ssh" else ""
+ remote_url = ('%s://%sgit.launchpad.net/~%s/ubuntu/+source/%s' %
+ (proto, user_at, owner, pkgname))
local_repo = USDGitRepository(pkgname,
args.directory,