Ensure that using top-level variable for $::puppet::runmode.