Fixing foreman installation when puppetlabs repo is present