Fix in GitDownloader: Tag are a reference of a reference

Resolve the reference of a tag to get to the corresponding sha1.