Check for null _model in UpdateFromModel

This check is made in PopulateKeyboard, and tests are failing on
the build machine due to null object in UpdateFromModel, so this
seems like a plausible change.

Change-Id: I6020bc77fd58678511055fb19bed58c3c39f38f6