delete_ref_loose(): don't muck around in the lock_file's filename