Fix parse error on yaml lexer

Fix `undefined method '[]' for nil:NilClass` in `rouge/lexers/yaml.rb`.