Simplify looking for mainbus when attaching cores.