hypervisor: fixed undefined local variable error