Fix plugin dependency issues

Puppet may load plugin classes before the main stackdriver module has been initialized in some cases