Fix path parsing when a bucket prefix is not specified
Fix path parsing when a bucket prefix is not specified

This allows the registry to be written to the root of a bucket and thus be accessible using S3's static website hosting feature
Jalle19/vagrant-registry-generator