Fix missing tokens in metrics when no container exists