Fix puppet agent loading problems.