base.install: Fixing HTTP support for RPM distro

The code was using many tricks around global variables and added many
tricks before call init_redhat_chroot().

Let's move this specific code into init_redhat_chroot() and fix the http
support by a better detection of ISO vs HTTP installs.