publish: better error message when source doesn't support embedded type (e.g. repost-of)

fixes #124