avoid exception when installing caused at plugins.py trying to retrieve protocols before db created