resolve_job_folders skipping jobs fix

JenkinsBase.resolve_job_folders removed jobs from the list while
iterating, causing jobs to be skipped over whenever a job folder was
encountered.