SLING-4116 : Content length check in JCRNodeResourceMetadata triggers javax.jcr.ItemNotFoundException: No primary item present on node

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1635404 13f79535-47bb-0310-9956-ffa450edef68