Sprinkle a few gc.collect calls all around
These Garabage Collector calls should make sure that any Pygit2.Repository
objects are getting cleaned.
Explanation: https://pagure.io/pagure/issue/2302
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>