Motivated by this complex dynamics question:
Let $X$ be a compact, path-connected metric space. Suppose there exist an integer $N\geq 2$ and distinct points $p_1,\dots,p_N\in X$ such that no proper path-connected subset of $X$ contains all $p_i$'s. Then, is it true that $X$ should be homeomorphic to a tree with at most $N$ leaves?