hypervisor: Fix mock hypervisor unit testing
hypervisor: Fix mock hypervisor unit testing

A change introduced in another pull request broke our go tests.
This commit aims to fix this issue.

Signed-off-by: Sebastien Boeuf <90b401417360b1924ef3f520ddee932686110f85@intel.com>

wcwxyz/virtcontainers,wcwxyz/virtcontainers,wcwxyz/virtcontainers,containers/virtcontainers,containers/virtcontainers