Revert "Potential NPE in SQLiteConnection"

This reverts commit ffc80f60208e6b8c88e0b8bdc5d71ff62fbca78d.