support localonly option for webpi

Listing the installed packages under webpi should provide equivalent
capability.