Fix module_url so that it would work for any target module, even if it isn't a submodule of the current one.