Check StatusOr::ok() before StatusOr::ValueOrDie()
Check StatusOr::ok() before StatusOr::ValueOrDie()

PiperOrigin-RevId: 292459229
Change-Id: I2fad8e9a779defa7c256a24341885c8b7e7b1944

google/asylo,google/asylo,google/asylo,google/asylo,google/asylo,google/asylo