Modified gpg-agent initialising.