${HOME}x/ != ~x/
Make branch var local to _vcsinfo, rename it