Error checking for Automorphism.__init__