Fixed potential NPE
Merge branch 'master' of https://github.com/europeana/corelib.git