Perform git reset --hard on the elasticsearch repo when running tests.