Fix getPaths call.