3824: Run build_script (and create *_WORK) inside the container.
3824: Check whether there is anything to install before trying to lock $destdir.
Merge branch '3824-task-work' closes #3824