[JENKINS-20935] - Fixed links generation for nested servlet locations.

Related to https://issues.jenkins-ci.org/browse/JENKINS-20935

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>