bottle: fail if there is no stable version.

Closes #26742.