Another point: I submitted a second version of the patch, since in the first one I missed retrieving the value.
Even now, I did not yet find a way how to change the parameter::get function, since it does some fairly complex stuff already. For the moment, I only changed parameter::get_from_package_key.