FindCommits regression with empty repositories when searching with revision and path provided
commit: Wait for the git-log(1) process to exit... (!6590 - merged) fixed the error handling of FindCommits
to actually return errors. This has caused a regression as we previously didn't return an error when accessing empty repositories with a revision and a path. Now we're returning an error which leads to Rails returning internal server errors to client's of its API when accessing empty repositories through the API in a manner that triggers a FindCommits request on an empty repository with a path and a revision.
Reported from gitlab#452488 (comment 1864429170)