safer check of available packages for macports