GEOS-6476: Fixing NPE on animate requests on WMS-EO plugin
Merge pull request #651 from geosolutions-it/GEOS-6476-2.5.x

GEOS-6476: Fixing NPE on animate requests on WMS-EO plugin.Backport to 2.5.x