Fix notice for no-js lock

It was looking for key summary.revId, which would show some notice in the event
no summary exists yet. Changing this to just check for summary (if that exists,
it always has the revId as well)

Change-Id: Iecfe17732d74b7b8b416e201d7b285e5572babee