check if image cache listFiles returns null \n -[fixes #53604653]