Avoid PHP Strict error `Creating default object from empty value`.
Add method `getUserPath`.