Foreman-installer --scenario katello does not move forward Foreman 3.3 Server with Katello 4.5

We have found the issue, puppet agent was installed, we removed puppet agent and /etc/puppetlabs and /opt/puppetlabs directories. Also unsubscribed it from our current Foreman incase of any conflicts.