refactor: Set s.State to "Unknown" when the registry key doesn't exist.
refactor: Set s.State to "Unknown" when the registry key doesn't exist.

PiperOrigin-RevId: 383895100

google/glazier,google/glazier