More helpful exception message when a parameter in DI config is missing

Exception message from `Arrays::get` is not very helpful and sometimes can be even misleading.