Improve error message in case of missing packages.