Prevent null pointer exception.
Merge pull request #284 from henning-gerhardt/issue_275

Fixes #275: Missing not null check in MetadatenImagesHelper.createPagination()