Improve regex to read release branches