Fix bug in FindAllTags when commit shas are used as tag names
When commit shas are used as tag names, the catfile call finds the commit object instead of the tag object with the commit sha as the name. This threw an error. The fix is to use the tag id explicitly instead of using the tag name.