Incorrect database uri used when running trytond_import_countries
When the trytond_import_countries script is run the database uri specified in the config file is not used because the backend/__init__.py is imported before the configuration has been setup. This issue may also apply to the other scripts.
See: https://discuss.tryton.org/t/proteus-and-trytond-import-countries-how-to-install/2937/16