Fail fast if no config when removing trailing slash