Call directly get_packages instead of doing it manually and actually set the critpath flag