def _get_branch(self, ref):
        return ref.replace('refs/heads/', '')
Check libvirt version, hypervisor version, and hypervisor type
dataset/ETHPy150Open nvbn/coviolations_web/nodes/resources.py/NodeTaskHookResource._get_branch--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/host.py/Host._version_check