Just noticed that in PR #655 there were undeclared local variables which resulted in: ~~~ Syntax warning: Unbound global variable ~~~ warnings at the start of the GAP session, but the CI all passed. We should fix this!