Don't NPE for images with empty metadata