am: simplify "sq" function by using "git rev-parse --sq-quote"