Yes, he is not at home when the wolves come-- the use of past perfect emphasizes the time difference. When to me somewhat signifies that as soon as the man left they came, and while suggests that they came at any point during his hunting trip . I don't think that this difference is categorical though, so I suppose that either subjunct will work.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.