Introduced ContextWithLocalRepoManager.