It's not designed to start the gpg-agent, just check it is running.
Style sure, I said it was ugly.