Fix utils.appliance in upstream & 5.3 and added some logging