Fixed error checking when verifying PGP keys.