Merge "PatchListCacheImpl: explicitly check for null revision" into stable-2.8