Downgrading template-standalone-upgrade for clean install R4.2

I’m following the guide at https://www.qubes-os.org/doc/upgrade/4.2/#clean-installation to upgrade from R4.1 to R4.2 via the clean installation approach. Unfortunately, step 3 errors:

$ sudo qubes-dist-upgrade --template-standalone-upgrade
INFO: Please wait while running pre-checks...
usage: qvm-check [--verbose] [--quiet] [--help] [--all] [--exclude EXCLUDE] [--running] [--paused] [--template] [--networked] [VMNAME [VMNAME ...]]
qvm-check: error: no such domain: 'ELAN0412'
WARNING: /!\ MAKE SURE YOU HAVE MADE A BACKUP OF ALL YOUR VMs AND dom0 DATA /!\
-> Launch upgrade process? [y/N] y
ERROR: Cannot continue to STAGE 4, dom0 is not R4.2 yet. Any error happened in previous stages?

This is an issue in v4.1.6 of the tool. Downgrading with sudo qubes-dom0-update qubes-dist-upgrade-4.1.5 solved the issue for me. Either the upgrade guide or qubes-dist-upgrade should change.