Followup
r80864: DatabaseSqlite exploded on installer page because it tried to open an invalid $wgSqliteDataDir.
Even though it doesn't use $server, only call open() if it's set, like in the other constructors.
The amount of code duplication here is stupid.