gpg-protocol: fix corrupt environmental variables

Only the values are needed, not the keys as well.