Worker: Improve error message for duplicate input names