This is indeed a close friend of YAGNI. To my mind, “leave the wolf” is specifically about accepting that it’s OK if the problem at hand has a simple solution, resisting the urge to complicate things until the complication is a problem — to turn the situation into a logic puzzle.
“Maybe we should grab those groceries on the way there…” “Nah, leave the wolf.”