Don't pass NULL pointer to asprintf when generating --run command.

This fixes commit 4ce0dbc3f425e6d609cc6739dac8c23b44b1c61b.
tests: Test the nbdkit command line more thoroughly.