[FIXED JENKINS-25732] - Don't fail with NPE if an environment variable has null value


Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>