Catching null registration.installing. Fixes #381.