diff --git a/sonic_package_manager/manifest.py b/sonic_package_manager/manifest.py index 865db7ef..f18b9a7f 100644 --- a/sonic_package_manager/manifest.py +++ b/sonic_package_manager/manifest.py @@ -88,7 +88,7 @@ def marshal(self, value): raise ManifestError(f'{value} has items not of type {self.type.__name__}') return value elif isinstance(value, self.type): - return [value] + return [] if not value else [value] else: raise ManifestError(f'{value} is not of type {self.type.__name__}')