Split GPG 2: annoying confirmation dialogs

I tried to set up Split GPG 2 and it is working most of the time. I use this policy:

qubes.Gpg2 * @anyvm @default ask target=parulin-gpg default_target=parulin-gpg
qubes.Gpg2 * @anyvm @anyvm deny

So, each time a request is made to parulin-gpg, the classic confirmation dialog opens up in dom0. But if I choose to deny it, more than a dozen other dialogs are opened. And gpg ends before any confirmation with this message:

gpg: can't connect to the agent: End of file

Is this a misconfiguration of Split GPG 2, of gpg or of something else?