t/t2025-worktree-add.sh: use the $( ... ) construct for command substitution