Was not displaying custom 404 page even though one was provided.

When supplying a Gears\View as the custom 404 page it would not render
and output the view. For some reason the !empty() check wasn't working.
No now we check for !is_null() instead.