Fix an error when calling sp-switch-space for the first time

When sp-switch-space is called with no spaces defined, call sp-new-space
instead of erroring out.