See issue #20. Fixed git tag detection.