ResolvedPom: change how direct/imported dependencies are handled