change config.get('addons_path') by config.get('addons_path', '')