Ask before installing a package and search for the git word in the error condition