Another thing to be wary of is a product where there are a small number of customers, maybe even just one, who contribute the vast majority of the revenue. Because then, even with a good product vision, it's going to be very hard to say "no" to what they ask for.
I've worked in both types of companies, and the ones where sales dictated what we worked on this week were universally awful.