Update portable_env

sp error in the sanity check