Fix TLS validation

It was missed during a refactor in https://gitlab.com/gitlab-org/gitlab-exporter/-/merge_requests/173

Changelog: fixed

Merge request reports

Loading