Fixes #6548 correct issues from rhn_register refactoring