Yes l, the meaning is exactly that: do not promise anything until you are sure you can get it. An equivalent (and slightly more cruel) would be "non vendere la pelle dell'orso prima di averlo ucciso" (lit. "don't sell the bear's fur before having killed it").