Force trailing slash for bucket names on 0.4 branch.

Same for this branch. The variable-set-to-empty issue isn't great... but maybe it is in fact better in that case to fail out rather than put everything in the top bucket?