fixup! Refactor release_job.py.
More idiomatic Python: Use getattr instead of type(..) is ....