Use proper array key

Fixes https://github.com/owncloud/core/issues/12047

Otherwise the database setup is not shown when only the PGSQL driver is available. It works for PGSQL when also another driver is installed.

@bantu @cippaciong @karlitschek Should get backported.