Add method to retrieve packages marked as being in the critical path