Fixing self.host
Merge pull request #2 from hmrbarros/host_notdefined

Incorrect variable for the hostname is referenced from self in error message.