fix(driver): trailing slash with custom root path

It fixes bacongobbler/docker-registry-driver-swift#8 @mbdas issue