Drop pointless to_s call
Check nil? || empty? instead of to_s.empty?
arangodb 2.2.0

Closes #30895.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
arangodb: update 2.2.0 bottle.