Minor fix for ip detection in a dump script (LEV-67)