[bugfix] Module load path for XQuery module was overwritten

Module load path was overwritten if the same module was imported into multiple other modules referenced from the same main module.