Only pull images when necessary