Adding trailing slash to root dir path

I think that this may be needed to define the root of the directory
path.