NULL pointer error in Connection._get_equote()

Found and fixed a RuntimeError caused by calling ffi.string() on a NULL pointer.