Correctly handling pip packages