Ensure we go back to default path implementation

If an error is raised within the mock path context and catched upstream the
rest of the tests will run with the mocked path and fail horribly.