Small performance improvements in gnupg-helper
Use static vars for paths to only search once. Use registry for gnupg, too to avoid gpgconf calls.