[PATCH v2] Config: replace subprocess.check_output with python2.6 compatible equivalent