cubicweb-postgis #12642849 AssertionError: Remaining tables: spatial_ref_sys on cubicweb db-init --drop [open]

#  cubicweb-ctl db-init --automatic --drop app

Initializing the system database
--------------------------------
-> dropping tables (first pass) [====================]
-> dropping tables (second pass) [====================]
Traceback (most recent call last):
File "/usr/local/bin/cubicweb-ctl", line 4, in <module>
  run(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/cubicweb/cwctl.py", line 1099, in run
  CWCTL.run(args)
File "/usr/local/lib/python2.7/dist-packages/logilab/common/clcommands.py", line 136, in run
  sys.exit(command.main_run(args, rcfile))
File "/usr/local/lib/python2.7/dist-packages/logilab/common/clcommands.py", line 265, in main_run
  self.run(args)
File "/usr/local/lib/python2.7/dist-packages/cubicweb/server/serverctl.py", line 477, in run
  init_repository(config, drop=self.config.drop)
File "/usr/local/lib/python2.7/dist-packages/cubicweb/server/__init__.py", line 251, in init_repository
  assert not remainings, 'Remaining tables: %s' % ', '.join(remainings)
AssertionError: Remaining tables: spatial_ref_sys

Postgresq log says

postgres_1    | ERROR:  sequence "entities_id_seq" does not exist
postgres_1    | STATEMENT:  DROP SEQUENCE entities_id_seq
postgres_1    | ERROR:  cannot drop table spatial_ref_sys because extension postgis requires it
postgres_1    | HINT:  You can drop extension postgis instead.
postgres_1    | STATEMENT:  DROP TABLE spatial_ref_sys
postgres_1    | ERROR:  sequence "entities_id_seq" does not exist
postgres_1    | STATEMENT:  DROP SEQUENCE entities_id_seq
postgres_1    | ERROR:  cannot drop table spatial_ref_sys because extension postgis requires it
postgres_1    | HINT:  You can drop extension postgis instead.
postgres_1    | STATEMENT:  DROP TABLE spatial_ref_sys
prioritynormal
typebug
done in<not specified>
closed by<not specified>