Simplify code with the in place path::native. No functionality change.