Can't find file '/Script/EnvironmentQueryEditor when building a PAK from the command-line

I am getting the error Can’t find file '/Script/EnvironmentQueryEditor when building a PAK from the command-line. This can be fixed when building from the editor by setting the AI Environment Query Editor experimental feature to true. I do not know what ini file setting can be set when building from the command-line to get rid of this error.