Make build not run in subshell

This fixes the issues of the pre-receive script not dying if docker
build fails.