Add trailing slash if there's no trailing slash.. 

The user should not have to worry about this, and it's common convention not to use a trailing slash when specifying directory names.