Update space.rb

Forgot to make this guard to ensure that the new_institution isn't nil.

Refs #1069