Fix uninitialized variable by setting to null_vertex.

Thanks to Lu Wang for reporting this.