soc-ci: Refactor fetching job details from Jenkins
soc-ci: Refactor fetching job details from Jenkins

Refactor a few callsites to use a common function for finding the root
Jenkins job.

Drive-by a missed conf dict to object change.

gosipyan/automation,aspiers/automation,gosipyan/automation,aspiers/automation,SUSE-Cloud/automation,aspiers/automation,SUSE-Cloud/automation,aspiers/automation,gosipyan/automation,gosipyan/automation,SUSE-Cloud/automation,SUSE-Cloud/automation