code: def _remove_existing(self):
          
          for key in self._keys:
              if key in os.environ:
                  LOG.debug('%r: removing old key %r', self, key)
                  del os.environ[key]
          self._keys = []
docs: When a change is detected, remove keys that existed in the old file.