Print on stderr if we can't find optimal path