fix gpg agent env file access