this will crash when `install_inf_hostname.empty?` is true. Quick exit after empty `install_inf_hostname` will fix it ( question is what to return).