The IMS resource type uses the resource_config.php file to set some $CFG vars - they should be set in the DB or config.php - preferably via some settings in the admin interface somewhere.
This is a problem as the scorm module needs to use the same config. and it seems very strange to include this config file in SCORM (as has happened in Moodle 1.6 and earlier)
the repo stuff has been broken in scorm for a while, and I'm just about to patch it so that it works in 18stable and 19stable. but I'm relying on the config vars being set in the db or in config.php I haven't included the local resource_config.php