dirmngr: Switch to an onion address if Tor is running.