sysutils/tmux: fix some NULL pointer
PR: 269390 (cherry picked from commit 0610124469717aef109a8b83c4d303f1facb149c)