t1003-read-tree-prefix.sh: use the $( ... ) construct for command substitution