Handle case where captured output could not be imported