Fix for module seeing wrong logical path if it was required via remapped path