Resolve path fragments in package types