CMS getSiteByHost() refactored to use the indexer

Minor CLI Repository controller mods