// NEXUS-5944: Give it a chance: it might be remote Nexus with browsing disabled?
// to check that, we will check is remote is Nexus by pinging "well know" location
// if we got it, we will know it's only browsing forbidden on remote
final RemoteStorageContext ctx = getRemoteStorageContext(repository);
final HttpClient httpClient = (HttpClient) ctx.getContextObject(CTX_KEY_CLIENT);
final PageContext pageContext = new RepositoryPageContext(httpClient, repository);
final ResourceStoreRequest rmRequest = new ResourceStoreRequest("/.meta/repository-metadata.xml");
final URL nxRepoMetadataUrl = appendQueryString(
repository, rmRequest,
getAbsoluteUrlFromBase(repository, rmRequest));
try {