Introduced an ad hoc swith based on the RUBY_VERSION because the argument of Net::HTTP::Get.new differs in Ruby 1.9 (uri.path) and Ruby 2.0 (uri)