Don't throw an error if there are no tags.

If you write S3 outputs and there are no tags, then it blows up
with #<NoMethodError: undefined method `join' for nil:NilClass>.

This commit fixes that, with tests.