needed to check if package is installed before removing it