[Compass-ci] [PATCH v3 compass-ci 2/3] git_mirror: fix that too few repos in upstream-repos cause memory leak