gpg: Fix buglet in the check_all_keysigs function.