Restore vendor branch version of lit python scripts