Fix the behavior for metadata verification when no public key presents
am: 6c70b934f2

Change-Id: I8d1c9ff72917961c673ecbc042e99dc5791583d4