Fix incorrect stable branch name for templates
What does this MR do?
In https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24962 the
stable branches were incorrectly changed to stable-X-Y
. This commit
fixes this so we correctly use X-Y-stable
.