--- /usr/lib/python3.7/site-packages/pungi/phases/gather/methods/method_deps.py.orig 2019-05-27 04:42:19.000000000 -0400 +++ /usr/lib/python3.7/site-packages/pungi/phases/gather/methods/method_deps.py 2019-06-11 16:44:34.948968754 -0400 @@ -68,6 +68,13 @@ def _format_packages(pkgs): """Sort packages and merge name with arch.""" + npkgs = [] + for pkg, pa in pkgs: + if pa is None: + pa = '' + npkgs.append((pkg, pa)) + pkgs = npkgs + for pkg, pkg_arch in sorted(pkgs): if type(pkg) in [SimpleRpmWrapper, RpmWrapper]: pkg_name = pkg.name