repair: Fix incorrect progress when refs are skipped
repair: Fix incorrect progress when refs are skipped

Issue was shown in this comment:

https://github.com/flatpak/flatpak/issues/3542#issuecomment-917497591

flatpak/flatpak,flatpak/flatpak,flatpak/flatpak,flatpak/flatpak,flatpak/flatpak