Fixed issue with getDefaultGeometry

The getDefaultGeometry function was returning an Optional instead of a Geometry.