CHEF-4022 Remove local variable from determine_version due to memoization as noted by @danielsdeleo