remove trailing slash in path retrieved from existing settings