added check for existence  of system-model for preinstall scripts for deb and rpm. Case for when the deb/rpm is used for initial install of repose