fixing a logic error in populating /etc/hostname
Merge pull request #1 from downneck/master

/etc/hostname population is borked