core-util: Fix detection when running in a VM
The original code that was written was trying to detect what hypervisor we were running under, rather than testing the presence bit first. We don't really need the former, so let's use the more comprehensive latter instead.
Fixes: !684 (merged)