Remove whitespace in git clone/patch scripts