fail build on git error