[BUGFIX] SQL error in install tool if no root page available