repo-updater: Fix nil connection panic
Created by: ryanslade
syncScheduler relied on the dbconn.Global but it was not guaranteed to be initialised by the time it was first run leading to a panic.
Instead, we use the database handle passed in with the repo updater specific store.