For some reason GitLab (or CloudFlare) respond with 403 Forbidden for
requests made using urllib. By setting the user agent we can complete
the requests successfully.
See https://gitlab.com/gitlab-org/gitlab/-/issues/219669 for the
corresponding issue in the GitLab issue tracker.