authdns: Fix v2 support in scripts

Fixes up stupidity in a17cdcca1
(didn't realize these scripts ran under -e)

Change-Id: Id9cfd2af5fda62aa55dfea05e3d9c357f3a1a958