Fixed a bug in the release:tag task