improved Git tag extraction without using sort
always returns tag from the latest tagged commit