Fix discovery verbose print function