add compatibility with latest chocolatey version

choccolatey-cookbook work wrong with latest version of chocolatey, that PR fix this