Thanks, for pointing that out. I see what is happening here. I had created the fedora object and set its model to be a PDF and then ingested the fedora object. After having done that, I ingested/attached the associated PDF. By ingesting the fedora object and having the model set already, it triggered the PDF solution pack to do its thing automatically and try to generate the images when the PDF hadn't been attached yet. Solution: ingest the fedora object without setting its model first - error message disappears and everything works as it should.
I think that this behaviour of the solution packs needs to be documented. I don't recall reading anywhere that they get automatically triggered upon ingestion.