Add VALID_PROTO info to pip module, REALLY fix #4378