Fix a bug in the module loader that i missed last time.