GH-98: Use "job.locks" to prevent creation of jobs with target matching a RegExp.

Once the job adding the lock runs, the targets lock will be removed.