convert log-root to canonical path in case it is relative