Fixed release script to use git instead of svn.

Review: https://reviews.apache.org/r/11381
Fixed a bug in the release script regarding tag creation.