Add check to see if gem or pip exist before saving packages