TRQ-2895 Needed to take into account putting a long hostname into submit_hosts list.