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