b:sy doesn't exist in empty buffers (vim 7.4.274), and checking if
it exists before whether its empty fixes resulting toggle errors.