Fixes https://pagure.io/pkgdb2/issue/62
I just found out about this PR :-s sorry about that.
The change itself looks good, would you mind rebasing so I can merge it? I realize pkgdb is going away in Fedora fairly soon but there is at least one more pkgdb instance running that could benefit from this fix.
Thanks!
rebased
Done.
Pull-Request has been merged by pingou
Fixes https://pagure.io/pkgdb2/issue/62