jats_package: affiliations fix

* Adds an extra check before adding the
  affiliations to the author.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>