chop off / from directory names