As mentioned in the linked announcement, they also added a complementary option to completely prevent gpg from talking to the network. It should address the use case you describe:
* gpg: New option --disable-dirmngr to entirely disable network access for gpg.