Fix BaseDirs init when envar is unset