Fix for ssh-agent when attaching to tmux session.