Make target optional in the swift publish plugin

This allows uploading a directory or multiple files to the root of a container. If
uploading a file and you do not specify a target, nothing will actually
be uploaded.