[FIXED JENKINS-26160] Ability for manually trigger jobs when these are in folders

This pull request should fix the problem detailed in JENKINS-26160
Right. This was changed.