Isn't that what the saying, "desperation is the mother of invention", or something like that....comes from?
You need an ingredient and don't have it so you "punt" with something else. And in your case, it came out tasting better than the original! Good idea.