storage: fixed error in redis storage with empty metadata