Pep Guardiola believes his past record has saved him from the sack at Manchester City.