Revert "Merge branch 'fix_get_tree_entries_with_oid_token' into 'master'"
This reverts commit 10587184, reversing changes made to 2e446f67.
Reverting as this fails the rails pipeline. https://gitlab.com/gitlab-org/gitlab-foss/-/pipelines/1350630727