tests: Only fake gpg agent if gpg2.