Use tags instead of revision when tags are available