fixes JENKINS-21080
Merge pull request #1 from christiangalsterer/master

fixes JENKINS-21080: links to jobs in build status page is dead when running Jenkins on a non-root context.