Intermittently seeing "ERROR: org.eclipse.jgit.errors.TranslationBundleLoadingException: Loading of translation bundle failed for [org.eclipse.jgit.internal.JGitText, en_US]" when running Sonar Scanner job

When scanning one of our repos (containing Python, XML, Javascript and HTML code) with Sonar Scanner 4.3 in Gitlab CI/CD, we sometimes encounter the following error:

ERROR: org.eclipse.jgit.errors.TranslationBundleLoadingException: Loading of translation bundle failed for [org.eclipse.jgit.internal.JGitText, en_US]
java.util.concurrent.CompletionException: org.eclipse.jgit.errors.TranslationBundleLoadingException: Loading of translation bundle failed for [org.eclipse.jgit.internal.JGitText, en_US]
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.helpAsyncBlocker(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.helpAsyncBlocker(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture.timedGet(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture.get(Unknown Source)
	at org.eclipse.jgit.util.FS$FileStoreAttributes.getFileStoreAttributes(FS.java:382)
	at org.eclipse.jgit.util.FS$FileStoreAttributes.get(FS.java:292)
	at org.eclipse.jgit.util.FS.getFileStoreAttributes(FS.java:757)
	at org.eclipse.jgit.internal.storage.file.FileSnapshot.<init>(FileSnapshot.java:257)
	at org.eclipse.jgit.internal.storage.file.FileSnapshot.<init>(FileSnapshot.java:238)
	at org.eclipse.jgit.internal.storage.file.FileSnapshot.save(FileSnapshot.java:135)
	at org.eclipse.jgit.internal.storage.file.LockFile.saveStatInformation(LockFile.java:464)
	at org.eclipse.jgit.internal.storage.file.LockFile.commit(LockFile.java:443)
	at org.eclipse.jgit.storage.file.FileBasedConfig.save(FileBasedConfig.java:257)
	at org.eclipse.jgit.util.FS$FileStoreAttributes.saveToConfig(FS.java:586)
	at org.eclipse.jgit.util.FS$FileStoreAttributes.lambda$0(FS.java:367)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: org.eclipse.jgit.errors.TranslationBundleLoadingException: Loading of translation bundle failed for [org.eclipse.jgit.internal.JGitText, en_US]
	at org.eclipse.jgit.nls.TranslationBundle.load(TranslationBundle.java:174)
	at org.eclipse.jgit.nls.GlobalBundleCache.lookupBundle(GlobalBundleCache.java:97)
	at org.eclipse.jgit.nls.NLS.get(NLS.java:147)
	at org.eclipse.jgit.nls.NLS.getBundleFor(NLS.java:133)
	at org.eclipse.jgit.internal.JGitText.get(JGitText.java:61)
	at org.eclipse.jgit.errors.LockFailedException.<init>(LockFailedException.java:96)
	at org.eclipse.jgit.storage.file.FileBasedConfig.save(FileBasedConfig.java:253)
	at org.eclipse.jgit.util.FS$FileStoreAttributes.saveToConfig(FS.java:586)
	at org.eclipse.jgit.util.FS$FileStoreAttributes.lambda$0(FS.java:367)
	... 25 common frames omitted
Caused by: java.util.MissingResourceException: Can't find bundle for base name org.eclipse.jgit.internal.JGitText, locale en_US
	at java.base/java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
	at java.base/java.util.ResourceBundle.getBundleImpl(Unknown Source)
	at java.base/java.util.ResourceBundle.getBundleImpl(Unknown Source)
	at java.base/java.util.ResourceBundle.getBundle(Unknown Source)
	at org.eclipse.jgit.nls.TranslationBundle.load(TranslationBundle.java:171)
	... 33 common frames omitted
Caused by: java.lang.ClassCastException: org.eclipse.jgit.internal.JGitText cannot be cast to ResourceBundle
	at java.base/java.util.ResourceBundle$Control.newBundle(Unknown Source)
	at java.base/java.util.ResourceBundle.loadBundle(Unknown Source)
	at java.base/java.util.ResourceBundle.findBundle(Unknown Source)
	at java.base/java.util.ResourceBundle.findBundle(Unknown Source)
	at java.base/java.util.ResourceBundle.findBundle(Unknown Source)
	... 37 common frames omitted

Then when retrying the CI job, this error disappears and the job passes with no issue.

After looking around a bit, I found that this is a general Java issue and hence there may be fix a for it at the level of the Java package. Is the fix proposed here something SonarSource would consider applying to newer versions of the scanner image? Or any other ideas about what might be causing this/how to fix it? Has anyone else encountered this issue when using Sonar Scanner?