[FIXED JENKINS-13502] Fix dependency graph computation when upstream build trigger is involved

lookup job's children as SYSTEM

[JENKINS-13502](https://issues.jenkins-ci.org/browse/JENKINS-13502)