Raster local fix

Robustifies handling of image sources both local + remote.