Fix output parsing when the result is empty
Add missing dependency on Nokogiri