<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _match_by_uuid(self, current_venvs, uuid):
 """Select a venv matching exactly by uuid."""

        for venv_str in current_venvs:
            venv = json.loads(venv_str)
            env_path = venv.get('metadata', {}).get('env_path')
            _, env_uuid = os.path.split(env_path)
            if env_uuid == uuid:
                return venv