Handle the case when revision data is null

Signed-off-by: Byron Ruth <b@devel.io>