[modules/core] fix inputs_names for optional inputs
[modules/core] fix inputs_names for optional inputs

this is just a quick fix, but there are probably better ways to handle
this case

mcolom/ipolDevel,mcolom/ipolDevel,mcolom/ipolDevel,mcolom/ipolDevel