Update mcollective.rb

Make it work with puppet enterprise 2.7 and 3.x as puppet enterprise needs the peadmin user environment for mcollective