More fixes to handle tmux, especially wrt PATH