Effort to fix logic around spawning gpg-agent