That's why I do not check HasProjectContent() in PackageViewMode.IsManaged property. It is too slow.

In meantime I did it. 
If you want to include solution-level packages in AvailablePackagesViewModel (Tab)
then remove three lines.