changes:
- type: fix
  scope: cli/state
  description: Fix a panic when trying to delete a provider from the state that's still referenced.