Fix CheckJNI crash on Android 2.2

* src/androidfns.c (syms_of_androidfns_for_pdumper): Don't free
local reference to script name if nonexistent.
10 jobs for master in 117 minutes and 1 second (queued for 10 seconds)
Status Job ID Name Coverage
  Build Images
failed #82436
build-image-inotify

01:56:58

 
  Normal
skipped #82437
test-all-inotify
 
  Platform Images
failed #82438
build-image-eglot

00:01:58

failed #82440
build-image-gnustep

01:56:51

failed #82439
build-image-tree-sitter

01:56:57

 
  Platforms
skipped #82441
test-eglot
skipped #82443
test-gnustep
skipped #82442
test-tree-sitter
 
  Native Comp Images
failed #82444
build-native-comp-speed2

00:12:48

 
  Native Comp
skipped #82445
test-native-comp-speed2
 
Name Stage Failure
failed
build-image-tree-sitter Platform Images There has been a timeout failure or the job got stuck. Check your timeout limits or try again
#6 46.25 checking for fsync... yes
#6 46.49 checking for gettimeofday... yes
#6 46.69 checking for memset_s... no
#6 46.88 checking for pselect... yes
#6 47.04 checking for pthread_sigmask... yes
#6 47.22 checking for readlink... yes
#6 47.39 checking for isblank... yes
#6 47.57 checking for iswctype... yes
#6 47.74 checking for strtoimax... yes
#6 47.92 checking for symlink... yes
failed
build-image-inotify Build Images There has been a timeout failure or the job got stuck. Check your timeout limits or try again
#4 279.7 make[3]: Entering directory '/checkout/src'
#4 279.7 GEN globals.h
#4 280.1 CC dispnew.o
#4 285.3 CC frame.o
#4 289.0 CC scroll.o
#4 290.4 CC xdisp.o
#4 329.2 CC menu.o
#4 331.6 CC window.o
#4 345.1 CC charset.o
#4 350.2 CC coding.o
failed
build-image-gnustep Platform Images There has been a timeout failure or the job got stuck. Check your timeout limits or try again
#4 164.9 checking for unreachable... no
#4 165.1 checking whether fcloseall is declared... yes
#4 165.4 checking whether getw is declared... yes
#4 165.6 checking whether putw is declared... yes
#4 165.8 checking which flavor of printf attribute matches inttypes macros... system
#4 166.0 checking whether strnlen is declared... yes
#4 166.2 checking whether strtoimax is declared... yes
#4 166.4 checking whether stat file-mode macros are broken... no
#4 166.5 checking for nlink_t... yes
#4 166.8 checking for struct timespec in <time.h>... yes
failed
build-native-comp-speed2 Native Comp Images
Error response from daemon: Get "https://emba.gnu.org:5050/v2/": Get "https://emba.gnu.org//jwt/auth?account=gitlab-ci-token&client_id=docker&offline_token=true&service=container_registry": net/http: request canceled (Client.Timeout exceeded while awaiting headers) (Client.Timeout exceeded while awaiting headers)
Running after_script
Running after script...
$ test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/test ${test_name}
$ test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name}
$ find ${test_name} ! \( -name "*.log" -o -name ${EMACS_TEST_JUNIT_REPORT} \) -type f -delete
find: build-native-comp-speed2-3ed5777f: No such file or directory
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
build-image-eglot Platform Images
fatal: Unable to create '/builds/emacs/emacs/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1