Thunderstorm production requires moisture, an unstable atmosphere, and a lifting force. In the mountains, the lifting force can come in a variety of ways.
The first question you need to answer in a power-off landing scenario is this: do you want to maximize the distance you can glide, or do you want to maximize the amount of time you can stay aloft?