ctl: strip trailing /'s for nicer output