tests/docker/docker.py: check and run .pre script