Remove retrieving host name from config.