fixed problem with truncating trailing slashes in Stash server root URLs introduced with fix for issue #18