Convert get_patchset_details to workunit as well