Added missing error message.
Renamed path name accessor.