a python 2.6 workaround for missing subprocess.check_output function. 2.7 is the officially required version of python by the pipeline, but while working on an old server I figured it would not hurt to have 2.6 supported if it takes only one small workaround.