Add path component to slug if present