Fix _retrieve_job returning None
Removed the shell wrapper