Automatically switch based on expected resource repo and standard repo.