remove complexity of the `cabbage-list-bundles` function