On the well-posedness of branched transportation