- Make sure the selected build type is used in upgrade mode.
  With the wrong build type this could lead to unneeded
  runtime checks called and failing (bnc #880744)