server/test.c: Don't segfault if the keyring is bogus.