On our Jenkins, sometimes because of some bitbucket.org issues I assume, the git repositories goes into a bad state on the slave machines. Further the builds starts to fail and