During installation process this script is loaded before installing the kernel, therefore one has to avoid using parameter::get_from_package_key which would cause to cache a acs_kernel package_id of 0, which has negative impacts when trying to install .lrn for example ( when executing install.xml statements that change kernel package's parameter values ).