Prevent crash when logging out while media db uninitialized
http://ankidroid-triage.appspot.com/view_crash?crash_id=6552297584721920
Merge pull request #654 from timrae/syncErrors

Prevent crash when logging out while media db uninitialized