Find project root properly.