Update short branchname calculation

This is not working anymore since the branchnames are prefixed with refs/remotes/:
   n.substring(n.indexOf('/')+1); // trim off '/'

earlier a branch origin/feature/bla was shortened to feature/bla
now it is remotes/origin/feature/bla