Generator: reworked the code a bit for coverage purposes.
Generator: reworked the code a bit for coverage purposes.

This results in code that is more complex and less maintainable, but there was no way to get access to the `return {};` statement, so...

hsorby/libcellml,cellml/libcellml,cellml/libcellml,cellml/libcellml,nickerso/libcellml,nickerso/libcellml,hsorby/libcellml,cellml/libcellml,nickerso/libcellml,hsorby/libcellml,nickerso/libcellml,hsorby/libcellml