Added a check if package is already installed