t1004-read-tree-m-u-wf.sh: use the $( ... ) construct for command substitution