detail::directory_log::lastPath() implementation.