use
```
job_deps = [job_ids[dep] for dep in map(tokey,ec['unresolvedDependencies']) if dep in job_ids]
```