BUG-981: remove use of deprecated getPath()