See https://github.com/theforeman/puppet-foreman_proxy/pull/67#discussion_r5114347