better error handling when PostGIS is not activated