ChatGPT very often gets these things wrong, so please don’t rely on it. There is no official suggestion to use fastboot getvar all on the Jolla C2 before flashing, and it seems that it always returns an empty value. Did you already try to follow the steps in Fastboot flashing of Jolla C2?
Actually, it the guide in this thread isn’t entirely up-to-date since part of it only applies to the first batch of devices. I’ve added a note in the original post.