Check whether repo is clean