Fixed incorrect sub-module loading by using a different module loader and checking the full path of packages.