Fix for issue #48

Hi!

I've fixed issue with ensure=>latest for tag revision. Now if revision is tag, 'latest' method fetches remote tags via get_revision method and then does git rev-parse <tag_name>.
It is working for my env.