repos: Fix external service config overwrite during long syncs
Created by: tsenart
This commit makes it so we don't overwrite the config field (or any other fields for that matter) at the end of an external service sync with stale data that has since been updated (while a long sync was running).
Test plan
Integration test.