Making git update repos command more robust (skip updating repos that are not clean)