def METHOD_NAME(context, disable_plugins):
    """
    Return the list of excluded packages for DNF in the given context.
    It shouldn't be used on the source system. It is expected this functions
    is called only in the target userspace container or on the target system.
    """
    pkgs = _strip_split(_get_main_dump(context, disable_plugins).get('exclude', ''), ',')
    return [i for i in pkgs if i]