Fix PATH duplication problem.

Address a PATH munging problem when re-initing the shell (e.g. tmux).