Fix tmux first-time attach with sessions.