This is a simple change to short-circuit the if statement if pagure-ci is not configured. I can't run the unit tests right now but when I test this in a deployment, it solves the 500 problem when a PR is created in a pagure instance without pagure-ci configured
This is a simple change to short-circuit the if statement if pagure-ci is not configured. I can't run the unit tests right now but when I test this in a deployment, it solves the 500 problem when a PR is created in a pagure instance without pagure-ci configured