Get resolved dependencies as flat list to resolve issue WSS-631