That's a very good point. The way the human population grows in combination with the way we use the resources on Earth, it is theoretically possible that we run out of resources and need to colonize other planets. In that context, searching for a habitable planet is highly practical in the long run.
Reminds me of how Q in StarTrek says that humans are like a virus and that we infect planets.
"What a wonder is USENET; such wholesale production of conjecture from such a trifling investment in fact." -- Carl S. Gutekunst