Fixes: https://pagure.io/koji/issue/1609
I had a slightly different version of this that I neglected to file
https://pagure.io/koji/pull-request/1627
Might be better to have the check lower down rather than in the export wrapper.
Dropping in favour of #1627
Pull-Request has been closed by tkopecek
Metadata Update from @julian8628: - Pull-request tagged with: testing-ready
Metadata Update from @julian8628: - Pull-request untagged with: testing-ready
Fixes: https://pagure.io/koji/issue/1609