private function hasExpectedBase($org, $repo, $version)
    {
        $url = sprintf(
            self::GITHUB_RELEASES_ENDPOINT,
            $org,
            $repo,
            $version
        );

        try {
            $res = $this->http->get($url, [
                'auth' => [null, $this->token]
            ]);
            return true;
        } catch (RequestException $e) {
            return false;
        }
    }