Stop installation if the package is not installed