On the checks for pkglist, otherpkglist and postinstall_files, should make sure the variable is not empty string before seeing if the file exists