Return empty dict for list_pkgs(purge_desired=True) with macports

This fixes #16828.

Again this time on the right branch!