Fixes issue, where getIdentity was not invoked after setIdentity and thus Job identity was always null