As identified in https://github.com/oracle/opengrok/discussions/4118#discussioncomment-4346257, for parallel scan the scanning needs to take into account that it is starting one directory below source root.