Select the right repo for stable branches
Select the right repo for stable branches

It was currently only using stable branch for mitaka. Add the
same checks for newton and ocata.

Change-Id: I6c4eb890578ea2f062f73a5a4ab20d67fc070641

openstack-infra/project-config,openstack-infra/project-config