Print correct pending reason when hostid is 0.