> normal conditionals are common in everyday life: "If they don't have a dark roast coffee, get me a medium roast."
"They had dark roast so I got you nothing as requested."
IOW, this program is either incomplete or wrong. Cf. "Get me the darkest roast they have." - ifless, concise, robust.