Fixed environment variables injection.
Resolves: https://issues.jenkins-ci.org/browse/JENKINS-19177

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>