if isinstance(kwargs.get("paths"), string_type):
        kwargs["paths"] = [kwargs["paths"]]