t1002-read-tree-m-u-2way.sh: use the $( ... ) construct for command substitution