Right now the test fails due to the fact that the `/opt/mgmtworker/work/deployments/` folder is not being cleaned between running the tests (only the DB is), which means that if there's a deployment env folder left, creating a new deployment will fail.