Merge "Fix the break of repo hook color check." into qt-dev