From version 2, a PostGIS template is no longer required to create a GIS-enabled database. Backport of fbd1df8e from master.