shell/env: Make sure priv exists before sourcing it.