Make the search for stable for packages without versions.