virttest.qemu_vm: Check migration_exec_cmd_src before accessing it

Signed-off-by: Qingtang Zhou <zhouqt@gmail.com>