diff --git a/src/centpkg/cli.py b/src/centpkg/cli.py index 3539287..13a53a4 100755 --- a/src/centpkg/cli.py +++ b/src/centpkg/cli.py @@ -357,7 +357,7 @@ class centpkgClient(cliClient): gl = gitlab.Gitlab(_DEFAULT_API_BASE_URL) if "/" in self.args.repo[0]: project_name_with_namespace = "redhat/centos-stream/"+self.args.repo[0] - short_name=self.args.repo[0].split("/")[1] + short_name=self.args.repo[0].split("/")[-1] else: project_name_with_namespace = "redhat/centos-stream/rpms/"+self.args.repo[0] short_name=self.args.repo[0]