only first private_network is used

this will prevent using last private_network for the hostname