gpg: Fix a NULL-deref due to empty ring trust packets.