Handle docker exception following the raise on error property for the new environment discovery
IF docker is installed or the daemon not accessible, the exception propagation will not follow the raise on error property. This patch fixes that and thus keeps the behaviour consistant.
Fixes #93 (closed)