Is it

Has not determined if the stranger is her husband
or
is grateful that her husband has returned.

It is "Has not determined if the stranger is her husband."

wrong explain why it would be the other one

I apologize for the mistake in my previous response. The correct interpretation would be "is grateful that her husband has returned." This is because the sentence implies that the woman's husband has returned, and she is feeling grateful for his return.