When a variable with the same name was declared in the instance script, the module-no-auto-store-subscription-validation would fail fixes #10285