Dependence of magnetism on hybridization in Ce(Cu1−xNix)2Ge2