gpg: Avoid printing false AKL error message.
* g10/getkey.c (get_pubkey_byname): Add special traeatment for default and skipped-local.
This change avoids error message like
gpg: error retrieving 'foo@example.org' via None: No public key
A 'None' mechanism is something internal.
(cherry picked from commit 91a6ba32347a21c9029728eec96b8ff80f944629)
- Signed-off-by: Werner Koch <wk@gnupg.org>