Solved an issue with normalize_path
It didn't mess up the generated code, however it was passing the wrong arguments
so it could have been harmful on a specific environment (it was looking
at "toplevel" modules even if it had already resolved the alias correctly).