Fix for EZP-22326: REST API: GET Content request fails when the content ...

...has not been published.

Existing pull request for eZ Systems: https://github.com/ezsystems/ezpublish-kernel/pull/726
Jira: https://jira.ez.no/browse/EZP-22326