For CLI data export, Spine tries to find the image to read the latest size. If it can't you should see:
Image for slot "head" not found: head
I tested it just now by exporting spineboy from the CLI, resizing his head and exporting again, deleting the head image and exporting again. It worked as it should.