Set default branch for products that don't have a stable branch
Closes #1167 (closed).
I thought this was covered in the case clause, but the else is outside of it, we should add an else to the when clauses as well.
Edited by Achilleas Pipinellis