fix bad comparison in shell code, when Module.load is not present but Module.read is