Some changes relating to the way the database initialised status is checked broke. They seem to work in testing but on the unittest server they don't, and on another test machine it did not. In spite of catching the error, it'd raise it regardless.

Catching everything now, pretty dodgy but the more duct tape the merrier!