When you cant edit or delete a file in /etc try this approach.
https://kb.vmware.com/s/article/2043564
Maybe you can get access at boot-time.
Is your state.tgz encrypted ? - if not you could eventually remove the file or replace it with a fixed one by repackaging the state.tgz
Ulli