Fix server crash when running an image without command without autorun