Fix revision retrieval for test results.