Fix in-progress repository syncs counting as failed

Merged James Lopez requested to merge fix/geo-failed-repo-count into master

Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/4053

What are the relevant issue numbers?

Edited by Nick Thomas