Fix issue in using XML to set sensor path

Thermal xml configuration can be used to define sensor cooling
devices. This fixes issue using non thermal zone temperature
sensor in configuration