Pipeline string formatting TypeError

When pipeline tries to raise a ValueError because of non-unique names, Python tries to look into the tuple and throws a `TypeError: Not all strings converted during formatting`.

This is fixed by wrapping names in a 1-tuple.