You are right, but for the wrong reason. Pontiac is going away, but you should have no problems with servicing, etc for it. However, I strongly recommend you look elsewhere for a car. G5s, like nearly any Pontiac, are complete junk. Here's what Consumer Reports says about it.
"A 2.2-liter four-cylinder engine powers this rebadged Chevrolet Cobalt. Both the base and GT models are available with either a five-speed manual or a four-speed automatic transmission. In our testing the Cobalt was quick, but engine refinement and fuel economy were unimpressive. Handling was secure, but the steering lacked feedback. The rear seat was cramped, and the routing for the front safety belts hurt rear access. The rear seat folds 60/40 to increase storage space. A smaller car, a rebadged Chevrolet Aveo called the G3, goes on sale in spring 2009".