Replaced 

fail_with(Exploit::Failure::Unknown, "Unable to detect the Oracle version!")

with

return Exploit::CheckCode::Unknown