Handle a few more cases of :target-path.