Check whether non-standard packages are installed and exit when they are not