Fix EZP-22225; Publishing content in a symfony command throws InactiveScopeException