Fix checking of joomla folder