Raised by @Skillmon on matrix:
Don't provide the file named as 0.pdf (or whatever) but with the correct file name as it's called in the TeX doc tree.
0.pdf