make path_init() unconditionally paired with terminate_walk()