* Return PopulateMissingHeaders early if the sync is at the head of the chain * Squelch logging if no blocks to sync * Fix broken test * Refactor repository tests