fix the "do not ask me again" behaviour with untrusted GPG key warning. Fixes #7584