The wrong person was the spy (spoilers)
It should have been Pitt. To quote Rotten Tomatoes:
"The crux of Act Three would then be Max's moral dilemma of whether he turns himself or whether he frames his wife and in doing so erases evidence against himself. It would be a far more challenging and ethically murky scenario than a rather rote finale where the characters follow their predestined paths."
I wish THAT had been the second act of "Allied".