[PATCH v2 27/32] sandbox: Only read the state if we have a state file