Fixes #108. Incorrect auto publish text and link appears in CMS.

- Prevents 'undefined' from appearing as if auto-publish were enabled.
- Checking zero-length on publishXXX vars alone, isn't enough.