Fix incompatibility with old nokogiri versions in onedb migrator