Remove stray slash, stop on error.