check if a package exists before trying to find out if deps are broken.