Add first pass at a get_package_linkages function