fix error with deactivated all =m packages if using collectionconfig