fix(build): handle undefined parameters in generateParamPrefixCombinations
Fixed the generateParamPrefixCombinations function to properly handle:
- Parameters with undefined values by treating them as missing
- Missing parameter keys in objects by breaking the loop early
- Prevention of duplicate combinations in all cases
The function now stops generating sub-combinations when it encounters
a missing or undefined parameter, ensuring only valid unique prefix
combinations are returned.