virttest.qemu_vm: Check migration_exec_cmd_src before accessing it

Signed-off-by: Qingtang Zhou <zhouqt@gmail.com>
Merge pull request #758 from zhouqt/migrate

virttest.qemu_vm: Check migration_exec_cmd_src before accessing it