[FELIX-4642] NPE in the resolver when substituting

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