oaiharvester: refextract task fix

* Checks properly if the PDF is downloaded successfully inside the
  refextract task.