some fixes for install handling multiple packages at once