corrected setting the hostname on non-SDC machines