check if raster timestamps present
(cherry picked from commit 68152cbeceba6a3d41a915019413f44c74d23831)
follow up to #68152cb - fix for single file
(cherry picked from commit f9acdc4537a1aaaf0ca245e76e89323bd0c5f9c4)