[cmdline] Fix image command-line construction for zero-length argument lists