fix(2/bootstrap) catch hidden panic

@mappum any idea what might cause the type to not match here?