Checking for installed packages before requesting new