Joomla 3 fix for removed JRegistry::getValue