Add initial support for querying local repos.

Doesn't support simultanious ClearToSends, nor does it request
periodically as intended.
Whitespace.