minor fix
properly detect openpgp