It doesn't look like `load_job_data` is loading the individual revision entries in `sources`. Each of these entries should go in the `revision` table with a corresponding entry in `revision_map`.