fix(driver): trailing slash with custom root path

fix bacongobbler/docker-registry-driver-swift#8 feedback
Merge pull request #9 from gierschv/fix-rootpath

fix(driver): trailing slash with custom root path