Prevent crash when logging out while media db uninitialized

http://ankidroid-triage.appspot.com/view_crash?crash_id=6552297584721920