Adding PR #1975 back as it looks like it got dropped.

https://github.com/komidore64/katello/commit/c5e6e88a1482a79ae5e885426c0fa4a9750ef467 dropped my small change.