Move master repo setup to it's own function in Command
Ensure master repo exists for search