Reject features with empty geometry in QgsMapToolAddFeature