cubicweb #4515598 NameError: global name 'database' is not defined [done]

cubicweb-ctl db-init --automatic --config-level 0 app --drop
Initializing the system database
--------------------------------
Traceback (most recent call last):
File "/usr/bin/cubicweb-ctl", line 4, in <module>
  run(sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/cubicweb/cwctl.py", line 1110, in run
  CWCTL.run(args)
File "/usr/lib/pymodules/python2.7/logilab/common/clcommands.py", line 134, in run
  sys.exit(command.main_run(args, rcfile))
File "/usr/lib/pymodules/python2.7/logilab/common/clcommands.py", line 263, in main_run
  self.run(args)
File "/usr/lib/python2.7/dist-packages/cubicweb/server/serverctl.py", line 459, in run
  init_repository(config, drop=self.config.drop)
File "/usr/lib/python2.7/dist-packages/cubicweb/server/__init__.py", line 230, in init_repository
  helper = database.get_db_helper(driver)
NameError: global name 'database' is not defined

Missing a little from logilab import database ?

prioritynormal
typebug
done in<not specified>
load left0.000
closed by<not specified>