Direct answer
The market title decides. A match result refers to that match and scope, while qualification can depend on aggregate score and tie-breaking rules.
What to check
If the home team wins the second leg 1–0 but loses 2–1 on aggregate, the home match win and failure to qualify can both be correct.