Fix paths.
Only update PATH if necessary.