simpleperf: fix binary_cache_builder.py.

Fix two exceptions caused by empty binary name.

Bug: none
Test: run python3 test.py.
Change-Id: If559a9c71a8af217fa8d127e634b85d9f6383ee4
2 files changed