Avoid warnings for empty file sha1 keys

bug: 40362
Change-Id: I19d3b38a121171153875cde8bef4ca34b3e49d67
Merge "Avoid warnings for empty file sha1 keys"