Need to expand variables before calling the @command function. This is
actually done for _execute_all[_non]_device_commands and
_verify_all_non_device_commands, but not in _verify_all_device_commands.
This adds the missing expansion.
(cherry picked from commit 225f47f83f5c21c88dd06c74b1493b14eced4968)