[GEOT-4814] ImageMosaic fails to harvest a directory if passed inside a List (Backport on the 11.x branch)

Backport on the 11.x branch.

Please look at the following JIRA: https://jira.codehaus.org/browse/GEOT-4814