Terminate manager when docker image build fails.

- Improved logging output on docker image build error
  (look into your syslog file, e.g. /var/log/daemon.log)