Quantification of local Ising magnetism in rare-earth pyrogermanates Er2Ge2O7 and Yb2Ge2O7