fixes #2614 Issue publishing when a template doesn't have a Live version
Merge pull request #2617 from dotCMS/issue-2614-publishing-template-without-live-version

fixes #2614 Issue publishing when a template doesn't have a Live version