Fixes https://pagure.io/pagure/issue/957
This patch looks good to me.
Feel free to push this to the master branch with me acknowledgment.
(Sorry, just wanted a 2-line reply to a 1-line patch :D)
:-p
Pull-Request has been merged by pingou
Fixes https://pagure.io/pagure/issue/957