(#15202) Fix acceptance tests for creating non-existance directories
The acceptance tests were failing after we added the new functionality
for creating dependent directories during module installation.
This patch fixes that, by remedying the tests to make this situation
acceptable instead of expecting an error and a non-zero exit code.