Added sanity to avoid an exception when the augeas object is already destroyed (Exception AttributeError: 'NoneType' object has no attribute '_libaugeas' in <bound method Augeas.__del__ of <augeas.Augeas object at 0xb6f764ac>> ignored)