PatchListCacheImpl: explicitly check for null revision Change-Id: Ib88d104ebd288e16ee2499ca93cecd4a8b9e2b2a (cherry picked from commit 8909bc4c2c94ed80bf315a286aadaa56ec77ebd6)