Drop cli segment from path