The check_output method does not exist in python 2.6 Fixes bug 1029014 Change-Id: I1ee24fa2029f21706924cc19dfcbc41655b022e6