Fix hostname cookbook