[GEOS-6686] MBTiles and GeoPkg are not correctly shown in LayerPreview

Please look at the following JIRA: https://jira.codehaus.org/browse/GEOS-6686