Bug 1094017: Component registrar shim doesn't support null contract IDs. r=Unfocused