cadastre addon: fixed undefined geometry error