Removing exception in case rev is null

Change-Id: I2fe2961876dcdc9bde3bca9584fcbe2294629eba
Merge "Removing exception in case rev is null" into wmf/1.22wmf3