Add check for flash root existence.