Avoid error when trying to switch to non-existing inf-ruby buffer

Running `ruby-switch-to-inf` when there is no `inf-ruby-buffer` produces a hard error due to passing `nil` to `get-buffer`. This commit makes the handling of this case more robust.