JENKINS-23353: fixes creating new jobs from the default view

avoids a stack overflow exception when creating a new job from the default view
when a Delivery Pipeline view is configure as the default system view
I'm pretty sure this is the right way to regression test this defect.  However, I'm totally stumped by the 404 error for jquery-ui.

Welcome suggestions on how to resolve this problem.