Does this handle case when `options.slot` equals to `production will return the production slot not `name-production`?