changed check on installed version to regex on puppet agent --version return