Fixed bug if missing pdfimages