CLOUDSTACK-5734: Fix the regression caused by adding hyper-V support