Fixes #6695: Adding two OS parameters with same name doesn't raise any error when values are different

you can probably dry this further, by having a method that returns :domain_parmaeters, :os_parameters etc per object that is used by the mixin.