vcs: honor branch tag in checkout