The problem is indeed in app/etc/local.xml, but it shouldn't be solved by calling Mage::app()->loadModules().
The real issue is that someone (most likely for debugging purposes) disabled local modules.
Just change
true
to
false
in app/etc/local.xml.