Fix use of uninitialized values when no ellipsoid set (fix #11848)