def plugins_to_dict(string):
    """Convers a plugins string into a dictionary."""
    try:
        mod, plugins = string.split(': ')
    except ValueError:
        return {}
    plugins = plugins.split('; ')
    return {mod: tuple(plugins)}
