[PD-dev] segv when HOME not set