Look for all the tags when the release has been created recently

When a release branch has been created recently, it is more likely
that the first tag doesn't exist. It now takes into account this
case to get all the tags.