Also: This log message only happens if there is a slug.  Do we need to consider the case of no slug?  I'd say you should log the message in any case, and use the slug if it's there.