Remove bucket prefix when testing creation of buckets with names starting with a dot or a slash.