Stop a potential NPE in Gas Gauges.