Gravity induced symmetry breaking and ground state of local supersymmetric GUTs