Fix exception list in _get_local_dir.  Added docstring for _get_local_dir.
Changed comparison in new Centos code.