fix NPE in Resolver.resolveRelative if path is not resolved (null)