set -e is seemingly not function local
Fix boot2docker_init on linux