t/t3210-pack-refs.sh: use the $( ... ) construct for command substitution