[FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven

module jobs. shows TopLevelItem only.

Restricts displayed projects to TopLevelItem only as it has been proposed by jglick in the first fix attempt for this issue (https://github.com/jenkinsci/jenkins/commit/3a6de84f6746d54dd0f3048312db067c835ee727)