CHEF-5113: Fix apt package unit test regression on non-debian platforms