removes subpath from config (instead of "/")