Throw different errors for module not found and module within a module is not found.