Added new changes to puppetversion check