We are also running into the script not appearing on our page.
Debugging the issue, it appears that some conditions in TagContainerResolver::passesConditions were throwing MissingValueContextException exceptions. Since this sets $missing_value to FALSE, the function returns FALSE and the tag isn't included.
Taking inspiration from Issue 3100588 → , we have patched the code to ignore when $missing_value is FALSE and the tag is now included.
It appears to be working for us, but we are not sure of the broader implications.