Handle trailing slash

Is this used anywhere? If so, it should probably be set to `defaults` rather than `config`. If not, it should be removed to prevent confusion.