Ensure we only handle app nav failure for actual error (#68285)
We were seeing `null` errors in the app navigation failure handling so
this ensures we check the error is a truthy value and only handle for
that case.
