COOK-2595: fix incorrect dependency on apt <= 1.7.0