t/t5900-repo-selection.sh: use the $( ... ) construct for command substitution