diff --git a/src/centpkg/utils.py b/src/centpkg/utils.py index 9806613..4a420f9 100644 --- a/src/centpkg/utils.py +++ b/src/centpkg/utils.py @@ -199,7 +199,7 @@ def get_canonical_repo_name(config, repo_url): distgit_api_base_url = config_get_safely(dist_git_config, distgit_section, "apibaseurl") parsed_repo_url = urlparse(repo_url) - if not parsed_repo_url.scheme: + if not parsed_repo_url.scheme and repo_url.startswith("git@"): # Some git checkouts are in the form of git@gitlab.com/... # If it's missing the scheme, it will treat the entire URL as the path # so we'll fake up the scheme for this situation