fixed capability retrieval for empty addons