Fix a bug where file not in package was triggering the module_ns.