Check for RHSM_DISPLAY before loading any modules.

if RHSM_DISPLAY is set to a display number, for example,
and offscreen vncserver, DISPLAY will be set to that
value for the tests, so any windows get displayed
there.