Pep Guardiola admits it was important for Manchester City bounce back from defeat to Chelsea with the win over Hoffenheim in the Champions League.