"nagios" module: fix NameError/'host' not defined

Add missing 'host' variable, which is read a few lines later on in some cases.