MDL-42166 repositories: Finalise deprecation of repository sync methods