trimroot: remove "/" prefix