topo/base: fix uninitialized variable

this commit fixes a bug introduced by commit open-mpi/ompi@e7c59e3adbcec5693c5df0057de6c66ed2b80817