CRM-14096 civicrm.config code doesn't do a good job when civicrm not in ...

...sites/all