Ensure gpg-agent starts automatically.
Correct gpg-agent detection.