Don't rebuild the registry when IDE startup fails

When MD crashes at startup don't try to rebuild the registry and retry
starting, since it won't work and causes confusion about the cause
of the crash.

Fixes bug #24290 - Crash when IDE tries to auto-restart