Do not crash when a parameter is missing, log an error (bnc#846467)

- 3.0.4