t4116-apply-reverse.sh: use the $( ... ) construct for command substitution