NPE Fix in StreamWatchdog

Could be the cause of JENKINS-21036