added a one-liner to ckanext/stats/__init__.py to solve it.
Merge pull request #1815 from OCHA-DAP/stats-plugin-namespace-error-1812

added a one-liner to ckanext/stats/__init__.py to solve it.