[JENKINS-20560] - Don't try to override empty paths
Caused by the initial fix of https://issues.jenkins-ci.org/browse/JENKINS-20560

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