[nozzle] fix negative return detected by coverity scan
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>