Fixing self.host

Found an error installing the plugin. 
self.host wasn't defined, assumed you meant to reference self.hostname.