Follow-up from "feat: migrate GlBadge"

The following discussion from gitlab-org/gitlab-ui!4713 (merged) should be addressed: