minor simplification in install_local_packages()