Use bash for the go script

Ubuntu uses dash for sh and that does not support `if [[ ]]` statements.