HADOOP-9573. Fix test-patch script to work with the enhanced PreCommit-Admin script. Contributed by Giridharan Kesavan