Fix tag type detection.

https://github.com/geddski/grunt-release/pull/66#issuecomment-35648434