(PUP-2364) Replace hardcode "puppetvardir" variable with host object's

'puppetvardir' is hard-coded several test files, causing them to fail on PE acceptance. This change moves those references to using the Host object's .puppet['config_key'] method.