minor clean up on the clip process
Merge pull request #538 from geosolutions-it/up-m

GEOT-4891, minor clean up on the clip process