This bug has been copied from bug #782549 and has been proposed to be backported to 5.8 z-stream (EUS).
I believe this defect is already fixed and included in 5.8 z-stream as it was back-ported some time ago. See comment 8 in bug #782549 The commit was b01e41e876fe2a28e55d76b1fe12b11d9f0c1a6b and is currently in subscription-manager-0.98.15-1+
*** This bug has been marked as a duplicate of bug 782549 ***