Bugfix: hostname was always undefined
Merge pull request #2 from ravn-no/master

Bugfix: hostname was always undefined