tests: Make sure artifacts directory is shared with container
If the artifacts directory is a symlink (or has a symlink in one of its parents) then we need to make sure that both the symlink and its target get shared with the container. We have code for that; use it.