use platform.dist() to detect ubuntu instead of subprocessing out to lsb_release