sync: Simplify logging when finding root dir