fix latest tag detection when tag is annotated