see https://github.com/Katello/katello/pull/1592/files#r3047444