Allow netbios name to override hostname if specified

Ticket: #4770