The findPKGFile function now takes pkgName as parameter to skip debug packages (*-debug.pkg.tar.zst) when locating built packages.