Trying it out on staging does fix the version cli (so the other ones as well).
```
swhstorage@storage1:~$ swh db --config-file config.yml version storage
WARNING the database does not have a dbmodule table.
module: storage
flavor: default
current code version: 182
version: 183
```