core: improve bad boot state error [GH-2187]