diff --git a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 b/roles/bodhi2/backend/templates/owner-sync-pagure.j2 index bb32864354..2eb0852ec3 100755 --- a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 +++ b/roles/bodhi2/backend/templates/owner-sync-pagure.j2 @@ -386,7 +386,7 @@ if __name__ == '__main__': pkgs = [] for pkg, branches in namespace_to_projects[namespace].items(): # The tag and branch names are the same for "old-style" branches - if tag in branches or tag == ('f' + RAWHIDE): + if info['repo_name'] in branches or tag == ('f' + RAWHIDE): pkgs.append(pkg) # This is a special project, not in dist-git, but which needs to be in # the package list.