minor: added a missing check and improved documentation of qx.module.Environment