git-am.sh: use the $(...) construct for command substitution