Corrected list of packages to install for fpm, streamlined check for packages