I suggest you replace the brut lib for extracting the manifest, which is not keeping up with the current format, with [apkanalyzer](https://developer.android.com/studio/command-line/apkanalyzer.html) in the Android SDK. `${ANDROID_HOME}/tools/bin/apkanalyzer manifest print some.apk > ${TMP_DIR}/manifest.xml`
I suggest you replace the brut lib for extracting the manifest, which is not keeping up with the current format, with apkanalyzer in the Android SDK.
${ANDROID_HOME}/tools/bin/apkanalyzer manifest print some.apk > ${TMP_DIR}/manifest.xml