'mssql' isn't an available database backend or couldn't be imported.

Oh, well this is embarassing. The solution was here all the time:

Something somewhere is expecting MsSql in settings.DATABASES rather than mssql.