I presume you've seen the airlock sequence in 2001 A Space Odyssey? Kubrick did his homework.
Grevious is mostly a robot, so I have no problem with his short walk outside.
In that photo, you can clearly see the force field keeping the atmosphere contained in the open landing bay. This technology was clearly established in the first film.