Using the native AGPM didn't work for me, so I used aolivero's AGPM. Just rename iMac12,1 to MacPro5,1 and rename the other MacPro5,1 entry to something stupid, like MacPro10,1.
aolivero, are you using a legacy AGPM, because yours worked, while the native one didn't?