344e2acb calls do_unchecked in a subshell which makes the modification to TMPFILES not persistent. This workaround removes the lock in do_buildd, but doesn't properly handle abnormal termination.