COOK-2992: properly get the physical device for comparison