Revert the changes to WorkQueueRepository in light of #430.

Was using workspaceId to know where to send, but that won't work when
published.