repository: support a different host for readonly url

Fixes tsuru/tsuru#807.