[JENKINS-22397] Show upstream project in dependency graph

See [JENKINS-22397](https://issues.jenkins-ci.org/browse/JENKINS-22397). Takes effect when https://github.com/jenkinsci/jenkins/pull/1168 is merged; should be harmless in earlier core versions.