ci-library.sh: try to handle dependency cycles
ci-library.sh: try to handle dependency cycles

Only look at each package dependencies ones, so there is
no endless recursion in case of a cycle.

Alexpux/MSYS2-packages,JPeterMugaas/MSYS2-packages,atom2013/MSYS2-packages,JPeterMugaas/MSYS2-packages,atom2013/MSYS2-packages,atom2013/MSYS2-packages,Alexpux/MSYS2-packages,Alexpux/MSYS2-packages,waterlan/MSYS2-packages,mati865/MSYS2-packages,mati865/MSYS2-packages,waterlan/MSYS2-packages,atom2013/MSYS2-packages,JPeterMugaas/MSYS2-packages,mati865/MSYS2-packages,JPeterMugaas/MSYS2-packages,waterlan/MSYS2-packages,Alexpux/MSYS2-packages,mati865/MSYS2-packages,waterlan/MSYS2-packages