In my build, despite commenting this out, asserts were preventing me from flashing.