diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 56d05bd1..c1962f8d 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -1055,7 +1055,7 @@ def parse_androidmanifests(paths, ignoreversions=None): if max_version is None: max_version = "Unknown" - if not is_valid_package_name(max_package): + if max_package and not is_valid_package_name(max_package): raise FDroidException("Invalid package name {0}".format(max_package)) return (max_version, max_vercode, max_package)