Use reference instead of revision attribute to checkout git repo with tag