Return nil where the slug is nil or empty