The import should be below, near the import of pagure.lib.git otherwise, it won't take into account the environment variable we set below.
pagure.lib.git
Pull-Request has been rebased
Thanks :)
Pull-Request has been merged by pingou