public @Nullable RemoteRepositoryDescription getRepository(@NotNull String subject, @NotNull String repo) throws IOException {
    // workaround, API requires authorization
    String url = BintrayModel.Repository.getUrl(subject, repo);
    return HttpRequests.request(url).accept("application/xml").connect(request -> {
      try {
        request.getConnection();
      }
      catch (HttpRequests.HttpStatusException e) {
        if (e.getStatusCode() == HttpURLConnection.HTTP_NOT_FOUND) {
          return null;
        }
        throw e;
      }
      return toRepositoryDescription(new BintrayModel.Repository(subject, repo));
    });
  }
public @Nullable RemoteRepositoryDescription getRepository(@NotNull String subject, @NotNull String repo)