public function getUnstableBadge(Repo $repo)
    {
        if ($repo->getPackagistSlug()) {
            return sprintf('<img src="%s" />', $this->helper->getUnstableVersionBadgeUrl($repo->getPackagistSlug()));
        }

        return '';
    }