Fixes puppet installer to replace hostname