The local geometry of gas injection into saturated homogeneous porous media