Pep Guardiola says "relief" was his overriding emotion as Manchester City avoided an embarrassing early exit in the Champions League.