fix 'ensureClean' to find wrong submodule commits
fix 'ensureClean' to find wrong submodule commits

Previously, it was not checking to see if the submodule was on the commit
expected in the meta-repo.

twosigma/git-meta,jhedwardyang/git-meta