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.
Fixed by making a shallow copy of the list to iterate over.