The ExpandHelper class includes an expandValueSet method that accepts expansion parameters, but does not account for these parameters when conducting a naive expansion. This leads to parameters like "system-version" being ignored silently. This is particularly disruptive for the $package operation.
Ideally, the parameters are applied to the expansion result. At the very least an error/warning should be presented to the user informing them that the result of the expansion does not account for expansion parameters.