Update TestWriteBuildScript for the branch-less git clone.