Revert "fixes #27217 clear_old_remotes clears wrong directory (gitfs)"
Revert "fixes #27217 clear_old_remotes clears wrong directory (gitfs)"

This reverts commit cccdeee18aa9dade43a0e78c5081524f8156ce03, as it was
correct in the first place.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt