Fixes missing path getter introduced in bc91905a.

Closes #270.