The validity of the local approximation in Penning ionization as studied by model calculations