The Associated Press projects the former executive has ended McKee’s bid for another term, a rare defeat for a sitting governor