Fix asset generation in distributed environments