added a regular expression to identify special releases

Now It also looks 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. I noticed it after adding CMSSW_7_1_DEVEL_X.