[PATCH 5/5] kunit: tool: simplify code since build_dir can't be None