theme: fix for ~foo; do not shorten branches with slash