Remote publish fixes
Merge pull request #1939 from dotCMS/issue-1937-remote-publisher-fix

Remote publish fixes