[core] Remove build root directory before re-unpacking