Emma knows that her heart can’t be taken but does the WW actually know that? I bet she doesn’t since she hasn’t been around this group very long and the only two people who could tell her that fact would be Rumple or Snow (neither of whom would offer that info up to an evil stranger).
As long as Zelena asked the right questions, Rumple would have no choice but to tell her, because she has the Dagger. I do like your crack theory about TeamSF getting one over on Zelena though.