Don't expect a path property

It may not be set for home / root URLs
Merge branch 'master' of github.com:BKWLD/php-library