[PTFM-8839] Use dxpy.get_handler instead of DXProject (the current workspace may be a container or a project)