Raise for non-existent injections.

If a non-existent injection is passed to `worker_factory`, raise
an exception instead of ignoring it.