This sentence makes no sense at all. If she won the primary, she would be fighting for Flake's seat, and it would be stupid to appoint her to McCain's.
The sentence is a heads I win, tails you lose non-argument.
I think it simply means Ducey is smart enough to NOT appoint somebody that just lost a primary...