Tried with the latest version (and another clean install) and it still gave the same error so i decided to have a quick look at the groups in my g2 install.
Turns out I had added an empty group (test), which deleting seems to have solved the error.
As a side note the installer won't let you install to a database with tables already present, even with a table prefix specified.