LocalRepoSync is now using the ObjectFactory.