if isinstance(executors, six.string_types):
                executors = [executors]
            elif not isinstance(executors, list) or not executors:
                raise SaltInvocationError("Wrong executors specification: {0}. String or non-empty list expected".