Fixed crash caused by invalid pandoc urls