fixed determining the package path for package installations