[FIX] account : Fixed the KeyError 'type' in _setup_dependency.