Node-RED crashing at startup due to bad flow context (reproducible)

Issue opened: https://github.com/node-red/node-red/issues/2369