fix pathname for get-dhcphostname