call setup_phase during other_phase only if the path matches.

* fixes #20.