added check to load the database object when running Fuel_installer::install_sql method