Fix file using the wrong file path if module not in first section of the module path