You shouldn't use a ternary operator here since `slugify` can return `''`.

`data.src && utils.slugify(data.src) || ('activity-' + name)` would allow it to fall back.