More informative error state when pages are not found
Some operations assume that finds are successful. This results in very
unhelpful error messages (NoMethodError
on NilClass
). This change
means that such operations throw instead, with an error message that
names the page that could not be found.
I encountered this when testing wiki actions, so I took the liberty of implementing the fix I needed.