refactor: make the logic single line and less readable

Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
diff --git a/python/private/py_package.bzl b/python/private/py_package.bzl
index 0b18564..43b8d48 100644
--- a/python/private/py_package.bzl
+++ b/python/private/py_package.bzl
@@ -108,13 +108,7 @@
         package: Package name to include.
         exclude: List of packages to exclude.
     """
-    if path_inside_wheel.startswith(package):
-        if not exclude:
-            return True
-        for excluded in exclude:
-            if not path_inside_wheel.startswith(excluded):
-                return True
-    return False
+    return path_inside_wheel.startswith(package) and (not exclude or not path_inside_wheel.startswith(exclude))
 
 py_package_lib = struct(
     implementation = _py_package_impl,