Remove the last delimiter in cluster export command when the type is rack.