Pep Guardiola believed it was important how his young team reacted to the penalty conceded against Leicester to take Man City's Carabao Cup tie to extra-time.