Fixed bug ingydotnet found in the grep-for-last-subrepo-clone when pulling.