[backend] run build statistics only in XEN or KVM virtualization to avoid the return of invalid data