[FIXED JENKINS-23686] Fix of JENKINS-22397 not automatically available to overriders of buildDependencyGraph unless they were using 1.558+ and calling super.
Merge commit '9ac66ee95d401330f99e1c0fd1fecc35e4c61227'