that's no good because it also strips `/` in the beginning. Simply checking for the length of cfgs will do the job for now