Fix gpg key import condition