ci: Only pull image if not available locally
This should make it so that if we already have a local version of the
image that we'll just use the local image instead
Signed-off-by: Eli Uriegas <eliuriegasfb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/78576
Approved by: https://github.com/suo, https://github.com/malfet