[PATCH v4 35/44] sandbox: Only read the state if we have a state file