[scripts][before_test] Slightly modify script to accomodate use from beat.web/buildout

2 jobs for docker-test in 25 minutes and 17 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #153194
docker-build
build_linux_36

00:25:14

73.0%
passed #153195
macosx
build_macosx_36

00:18:34

73.0%