Fix crashes on startup if an old components-* directory was present

Caused by https://bugzilla.mozilla.org/show_bug.cgi?id=881237