Update `NestedJarFile` so that the `getManifest()` method returns the manifest from the parent jar file for nested jars based on directory entries. This restores the previous behavior supported by Spring Boot 3.1 and allows class methods such as `getPackage().getImplementationVersion()` to return non `null` results. Fixes gh-38996