[GEOS-6645] NPE when trying to reload bands with empty range
Merge pull request #746 from n-lagomarsini/GEOS-6645_2_6

[GEOS-6645] NPE when trying to reload bands with empty range (Backport on 2.6.x)