Support empty bucket path.