Modified LocalRepoRegistry.