Merge branch 'jej/lfs-rev-list-handles-non-utf-paths-41627' into 'master'
Prevent RevList failing on non utf8 paths
Closes #41627
See merge request gitlab-org/gitlab-ce!16440
(cherry picked from commit 3228ac06)
c4dd7b82 Prevent RevList failing on non utf8 paths