Remove global variable $DIR in source_sysconfig()