[FIXED JENKINS-23526] Tolerate 'null' result when used creatively

Unfortunately, the code is full of such expressions :(