Fix path to build dir in assertion

`Path() / "/build"` results in an absolute path `/build`, which is not
what is meant to be checked for.
Merge pull request #1803 from blueyed/fix-test_no_install_and_download_should_not_leave_build_dir

Fix path to build dir in assertion