1. Adaptive media must be available and at least one configuration must exist.
2. Upload an image to the document library.
3. Export the document library to a lar file.
4. Remove the image created in step 2.
5. Import the lar file created in step 3.
In point 5 a fileVersion was trying to be retrieved from the fileEntry being imported which didn't exist anymore.