Fix for potential null pointer exception in config.

Fixes: #136
https://github.com/mapfish/mapfish-print/issues/136