Don't refresh in state.pkg

Fixes #16271