app: fix “Up” link from branch-directories