t0300-credentials.sh: use the $( ... ) construct for command substitution