This implements onosek's suggestion in https://pagure.io/rpkg/pull-request/644#comment-183143
Fix #677
Commit d2c63c32 fixes this pull-request
Pull-Request has been merged by onosek
Thanks for creating the PR. I just updated the commit message before merging.
This implements onosek's suggestion in https://pagure.io/rpkg/pull-request/644#comment-183143
Fix #677