Caused by the changes in the submodules configuration. Can no longer rely on the `git submodule` command to show list of external references to be packed. Needs to be backported to 3.5.1. Pull Request: https://projects.blender.org/blender/blender/pulls/106502