Fix issues regarding binary_checkout (#58558)
Summary:
Cherry-pick of https://github.com/pytorch/pytorch/issues/58495 back to master
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
Fixes https://github.com/pytorch/pytorch/issues/58557
Pull Request resolved: https://github.com/pytorch/pytorch/pull/58558
Reviewed By: albanD
Differential Revision: D28538867
Pulled By: malfet
fbshipit-source-id: 3517d8729df7c0c0a221d26f6966c8dcef2f3076