prepare_{git,shell}_cmd: use argv_array