[server] Add RPC to get a virtual repo from origin repo and path.