Gamma-ray observations of the Galactic center - Removing the Galactic ridge contribution