Fixed a bug where the local repo wasn't being loaded.