check only for active macports packages, cache the list, closes #1723
safer check of available packages for macports
Merge pull request #1725 from wayneeseguin/bugfix/find_active_macports_packages

check only for active macports packages, cache the list, closes #1723
NEXT: 1.19.1 with 1725