Fixed automatically adding / to directories with the -s option