def __unpack_conda_env(broadcast_vars, iterator):
    """
    Command to install the conda env in the local worker
    """
    # transform '/path/to/conda' to 'path'
    worker_conda_folder = __parse_worker_local_path(broadcast_vars['CONDA_ENV_LOCATION'])
    # delete existing unpacked env root 'path' folder
    cmd = 'rm -rf %s' % worker_conda_folder
    subprocess.check_output(cmd.split(' '))

    # unpack the env
    with tarfile.open(broadcast_vars['CONDA_ENV_NAME'] + '.tar') as tar_handle:
        tar_handle.errorlevel = UNPACKING_ERROR_LEVEL
        tar_handle.extractall()

    # remove the env tar file
    cmd = 'rm -rf %s.tar' % broadcast_vars['CONDA_ENV_NAME']
    subprocess.check_output(cmd.split(' '))

    return [__get_hostname(), 'done']