Fixed module loading for packages without a config.