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