Paths can be mapped directly to files, which was not being taken into account when computing `basePaths` for the `EntryPointFinder`s. Now if a `pathMapping` pattern does not exist or is a file, then we try the containing folder instead. Fixes #31424 PR Close #30525