Fix crash in PgpKeyHelper