Better warning when possibly not setting model.local-data where it's intended