Fixed buggy resolving of relative paths inside a module that has been loaded from an alternative root path