Fix a panic during boot introduced in r246245.