This fixes a corner case than can happen in brand new koji instances.
Fixes https://pagure.io/koji/issue/4128
Metadata Update from @mfilip: - Pull-request tagged with: testing-ready
:thumbsup:
Metadata Update from @mfilip: - Pull-request tagged with: testing-done
Commit f70ba74d fixes this pull-request
Pull-Request has been merged by tkopecek
This fixes a corner case than can happen in brand new koji instances.
Fixes https://pagure.io/koji/issue/4128