Added support for getting all the available branches for a build type.