Fix the path handling on pyarch

We changed the generated files path used to determine the path on
pyarch.