SLING-3911 - fixing issue where empty or wrong arrays are specified for default values

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