Revert "2177: Fix the fetching of different revision"

This reverts commit 07cd361d08d9531e5900d379c127d220ab91a630.