test: Fix typo in assert_file_(not_)exists

These assertions were crashing when the condition was not met because of
using an unbound variable.

Change-Id: I261472af330811f0b1c8ce1ad16bbd58ccc28677